]> dgit.raspbian.org Git - gnome-shell.git/commit
st/icon: Check icon properties for changes before regenerating texture
authorJonas Dreßler <verdre@v0yd.nl>
Thu, 23 Jan 2020 09:44:30 +0000 (10:44 +0100)
committerMarge Bot <marge-bot@gnome.org>
Fri, 30 Jul 2021 13:59:18 +0000 (13:59 +0000)
commit0b1dfbf6f3f40e4e7baf67aa77b79d4f0ced6129
tree3bf8e9517645f1881e00687fd4dcc3e715988339
parent13562033d7d6d9b0ebf6ddc6b79d3162aa605a49
st/icon: Check icon properties for changes before regenerating texture

Properly compare the new icon properties of StIcon to the old ones on
style-changes and only update the icon texture in case something
changed. This should help reduce the amount of texture cache requests
when we start emitting all "style-changed" signals again.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/953>
src/st/st-icon.c